package com.transcargo.users;

public class TransportNotFoundException extends Exception {
	private int tid;
	private String msg = null;
	public TransportNotFoundException(int tid) {
		this.tid = tid;
		msg = "Unable to find transport with ID " + Integer.toString(tid);
	}
	public TransportNotFoundException(int tid, String message) {
		this.tid = tid;
		msg = message;
	}
	public String getMessage() {
		return msg;
	}

}
